<?php

namespace Models\Validators;

class Email extends ValidatorAbstract {
    
    protected $_errorMsg = 'Email address is not valid';
    
    public function isValid($elementName, $value) {       
        return filter_var($value, FILTER_VALIDATE_EMAIL);
    }
}